home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
serial
/
callback.001
/
callback~
/
callback
/
lib
/
dbase
/
load.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-07-28
|
503b
|
21 lines
#include "dbase.p"
void load(THE_FILE_ENUM_ the_source)
{
char
*line;
while ((line = get_active_tty()))
{
assign_filenames(line);
copyfile(filename[the_source], filename[the_activefile]);
unlink(filename[the_statefile]);
unlink(filename[the_disablefile]);
log(log_on, "Line %s enabled: %s removed", line,
getfile(the_disablefile));
}
make_configfile();
}